package mx.uam.ayd.dulceria.cu.imprimirhistorial;


import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.Dimension;

import java.awt.Rectangle;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JCheckBox;
import javax.swing.JTextArea;
import java.awt.Font;
import javax.swing.JComboBox;

public class VentanaImprimirHistorial extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;  //  @jve:decl-index=0:visual-constraint="59,54"
	private JLabel jLabel = null;
	private JTextArea jTextArea = null;
	private JButton jButton = null;
	private JButton jButton1 = null;
	private JLabel jLabel6 = null;
	private JComboBox jComboBox = null;
	/**
	 * This is the default constructor
	 */
	public VentanaImprimirHistorial() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 *
	 * @return void
	 */
	private void initialize() {
		this.setSize(762, 511);
		this.setContentPane(getJContentPane());
		this.setTitle("Imprimir Historial");
	}

	/**
	 * This method initializes jContentPane
	 *
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jLabel6 = new JLabel();
			jLabel6.setBounds(new Rectangle(290, 17, 195, 29));
			jLabel6.setFont(new Font("Dialog", Font.BOLD, 18));
			jLabel6.setText("Impresion de historial");
			jLabel = new JLabel();
			jLabel.setBounds(new Rectangle(82, 69, 77, 16));
			jLabel.setText("Elige Fecha");
			jContentPane = new JPanel();
			jContentPane.setLayout(null);
			jContentPane.setSize(new Dimension(684, 389));
			jContentPane.add(jLabel, null);
			jContentPane.add(getJTextArea(), null);
			jContentPane.add(getJButton(), null);
			jContentPane.add(getJButton1(), null);
			jContentPane.add(jLabel6, null);
			jContentPane.add(getJComboBox(), null);
		}
		return jContentPane;
	}

	/**
	 * This method initializes jTextArea
	 *
	 * @return javax.swing.JTextArea
	 */
	private JTextArea getJTextArea() {
		if (jTextArea == null) {
			jTextArea = new JTextArea();
			jTextArea.setBounds(new Rectangle(60, 104, 624, 284));
		}
		return jTextArea;
	}

	/**
	 * This method initializes jButton
	 *
	 * @return javax.swing.JButton
	 */
	private JButton getJButton() {
		if (jButton == null) {
			jButton = new JButton();
			jButton.setBounds(new Rectangle(171, 411, 116, 38));
			jButton.setText("Imprimir");
		}
		return jButton;
	}

	/**
	 * This method initializes jButton1
	 *
	 * @return javax.swing.JButton
	 */
	private JButton getJButton1() {
		if (jButton1 == null) {
			jButton1 = new JButton();
			jButton1.setBounds(new Rectangle(510, 412, 110, 36));
			jButton1.setText("Salir");
		}
		return jButton1;
	}

	/**
	 * This method initializes jComboBox
	 *
	 * @return javax.swing.JComboBox
	 */
	private JComboBox getJComboBox() {
		if (jComboBox == null) {
			jComboBox = new JComboBox();
			jComboBox.setBounds(new Rectangle(172, 61, 122, 25));


		}
		return jComboBox;
	}
	public void pantalla(String s){
		jTextArea.setText(s);


	}
}  //  @jve:decl-index=0:visual-constraint="10,10"
